#include "nBody.h"

int main(int argc, char** argv)
{
   // Initialize the simulation from a parameter file and a data file.
   if (argc == 2.0) {
      nBodySimulator sim("params.txt", argv[1]);
      sim.run();
      }

   if (argc == 3.0) {
      nBodySimulator sim(argv[1], argv[2]);
      sim.run();
      }

   else {
      nBodySimulator sim("params.txt", "initial_conditions/random.nbd");
      sim.run();
      }

   return 0;
}
